package com.jk.controller;

import com.jk.dto.TemDictData;
import com.jk.interfaces.TemDictDataServiceApi;
import com.jk.service.TemDictDataService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author yzf
 * @version 1.0
 * @ClassName TemDictDataController
 * @program: office
 * @description: TODO
 * @date 2025/2/13 15:12
 */
@RestController
@Slf4j
public class TemDictDataController implements TemDictDataServiceApi {
    @Autowired
    private TemDictDataService temDictDataService;


    @Override
    public List<TemDictData> findDictByType(String dictType) {
        return temDictDataService.findDictByType(dictType);
    }
}
